"""
@File    : run.py
@Time    : 2021/10/29 0:11
@Author  : chenhuayan
@Software: PyCharm
"""
# !/usr/bin/env python3
# -*- coding: utf-8 -*-
from app import neverGiveUp
from app.utils.logger import Log

@neverGiveUp.route('/')
def hello_world():
    log = Log('hello world专用')
    log.info('有人访问你的网站了')
    return 'Hello World!'


if __name__ == '__main__':
    neverGiveUp.run('0.0.0.0', threaded=True, port='7777')
